Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio: multiband_drc: multiband drc code re-organize and split #8526

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

btian1
Copy link
Contributor

@btian1 btian1 commented Nov 27, 2023

  1. Move header file from include path to module inside folder.
  2. Move one inline function to header file and remove one inline function.
  3. split multiband DRC with ipc3 and ipc4 specific code.

Move header file from include path to module inside folder.

Signed-off-by: Baofeng Tian <[email protected]>
Move one inlined function to header file, for the second functions,
it was called 4 times in current module and not time critical, no
need inline.

Signed-off-by: Baofeng Tian <[email protected]>
@btian1 btian1 changed the title Audio: multiband_drc: move multiband drc header to module folder Audio: multiband_drc: multiband drc code re-organize and split Nov 29, 2023
@lgirdwood
Copy link
Member

@btian1 any reason why draft ?

@btian1
Copy link
Contributor Author

btian1 commented Nov 30, 2023

@btian1 any reason why draft ?

just waiting for CI results, now opened.

@btian1 btian1 marked this pull request as ready for review November 30, 2023 01:23
elseif(CONFIG_IPC_MAJOR_4)
zephyr_library_sources_ifdef(CONFIG_COMP_MULTIBAND_DRC
${SOF_AUDIO_PATH}/multiband_drc/multiband_drc.c
${SOF_AUDIO_PATH}/multiband_drc/multiband_drc_generic.c
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No copy/paste, see #8514 (comment)

Split out ipc3 and ipc4 specific code from mulitband_drc.c.

Signed-off-by: Baofeng Tian <[email protected]>
@btian1 btian1 requested a review from marc-hb November 30, 2023 07:27
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good @btian1 !

@keqiaozhang
Copy link
Collaborator

SOFCI TEST

Copy link
Contributor

@johnylin76 johnylin76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kv2019i kv2019i merged commit f93f7d4 into thesofproject:main Dec 4, 2023
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants